<?php
namespace app\admin\controller;

use think\Controller;
use think\Db;
use think\Lang;
use think\Config;

class Index extends Controller
{
    public function index()
    {
        $user = Db::name('member')->where(array('member_id'=>1))->find();
        $nav = array(
            'Like_zero'    =>  array(
                'Navigation'    =>   array(
                    'name'  =>  Lang::get('Navigation'),
                    'url'   =>  ''
                ),
                'Goods_List'    =>  array(
                    'name'  =>  Lang::get('Goods_List'),
                    'url'   =>  '',
                ),
                'Shop_Like' =>  array(
                    'name'  =>  Lang::get('Shop_Like'),
                    'url'   =>  ''
                ),
                'Shop_Like' =>  array(
                    'name'  =>  Lang::get('Shop_Like'),
                    'url'   =>  ''
                ),
                'Member'   =>  array(
                    'name'  =>  Lang::get('Member_list'),
                    'url'   =>  ''
                ),
                'Discover' =>  array(
                    'name'  =>  Lang::get('Discover_list'),
                    'url'   =>  ''
                )
            )
        );
    	$data = array(
            Lang::get('Like_zero'),
            Lang::get('System'),
        );
    	$this->assign([
            'data'  => $data,
            'nav'   => $nav
        ]);
        return $this->fetch();
    }
}
